using MES_workbench.Domian.Entities;
using Microsoft.EntityFrameworkCore;

namespace MES_workbench.Infraetructure
{

    /// <summary>
    /// 上下文
    /// </summary>
    public class EFDbContext : DbContext
    {
        public EFDbContext(DbContextOptions options) : base(options)
        {

        }


        public DbSet<DataStatistics> DataStatistics { get; set; }

        public DbSet<ItemsApproachingExpiry> ItemsApproachingExpirys { get; set; }

        public DbSet<Notice> Notices { get; set; }

        public DbSet<OrderDeliveryReminder> orderDeliveryReminders { get; set; }

        public DbSet<ProcessStepReminder> ProcessStepReminders { get; set; }

        public DbSet<WorkOrderReminder> WorkOrderReminders { get; set; }


    }
}
